package com.cy1;

/**
 * The type Hello.
 */
public class Hello {
    /**
     * The entry point of application.
     *
     * @param args the input arguments
     */
    public static void main(String[] args) {
        // byte
        byte b = 15;
        System.out.println(b);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
        System.out.println("----------------------");

        // short
        short s = 15;
        System.out.println(s);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
        System.out.println("----------------------");

        // int
        int i = 9;
        System.out.println(i);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        System.out.println("----------------------");

        // long
        long l = 15L;
        System.out.println(l);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
        System.out.println("----------------------");

        // char
        char c = 97;
        int k = c;
        byte m = 97;
        int z = m;
        // k用来查找字符‘陈’在Unicode中的编码
        System.out.println(k);
        System.out.println(z);
        System.out.println(c);

        // float,double
        float f = (float)3.14;

    }

    /**
     * 用于测试javadoc的一个方法
     *
     * @param a the a
     * @param b the b
     */
    public static void test_(int a, int b) {
        return;
    }

}
